#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time       :   22:44
# Author     : Y4
# desc       : 
# File       : 爬虫查看代理是否成功.py

import requests

proxy = 'http://101.133.232.250:41801'
try:
    requests.get('http://www.avecelle.fi/ip', proxies={'http': proxy},timeout=10)
except:
    print("failed")
else:
    print("success")
